chebev Function

public function chebev(a, b, c, m, x)

Chebyshev evaluation: All arguments are input. c(1:m) is an array of Chebyshev coefficients, the first m elements of c output from chebft (which must have been called with the same a and b). The Chebyshev polynomial evaluated and the result is returned as the function value.

Arguments

Type IntentOptional Attributes Name
real(kind=wp) :: a
real(kind=wp) :: b
real(kind=wp) :: c(m)
integer :: m
real(kind=wp) :: x

Return Value real(kind=wp)